let key = [1, 26, 18, 31];
module.exports= function (s) {
  let str = '1234567890zxcvbnmasdfghjklpoiuytrewqQWERTYUIOPLKJHGFDSAZXCVBNM';
  let copy = '';
  let j = 0;
  for (let i = 0; i < 32; i++) {
    copy += str.charAt(Math.floor(Math.random() * str.length));
  }

  let arr=copy.split('');
  // console.log(arr)
  for (let i = 0; i < 4; i++) {
    arr[key[i]] = s.charAt(i);
  }
  // console.log('join',arr.join(''),s)
  return arr.join('');
}
